home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17086 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.cac.psu.edu!usenet
  2. From: waj106@email.psu.edu (Coren)
  3. Newsgroups: comp.lang.c++
  4. Subject: Borland C++ and CGI
  5. Date: 13 Apr 1996 17:15:30 GMT
  6. Organization: A Place
  7. Message-ID: <4konfi$hl4@hearst.cac.psu.edu>
  8. Reply-To: an467669@anon.penet.fi
  9. NNTP-Posting-Host: waj106.rh.psu.edu
  10. X-Newsreader: WinVN 0.99.7
  11.  
  12. I know I'm just missing something fairly simple here but....
  13.  
  14. I have Borland 3.0 C++ compiler for windows.  I have written a program that 
  15. takes input and creates a HTML page.  The only problem is that I cannot get it 
  16. to dynamically create a new page.  I know that you are supposed to output 
  17. something like "Content-type: text/plain\n\n" but this doesn't seem to do any 
  18. good.  I have tried it with a normal cout but then I saw that someone used 
  19. it with a function called 'puts' instead of cout.  As it is, if I leave all 
  20. outputs as couts, when I run it from a browser it says "empty output from CGI 
  21. program."  Can anyone help me with this?  Thanks.
  22.  
  23. Bill (wajost@psu.edu)
  24. --All the thoughts unuttered and all the feelings unexpressed
  25.     lay upon our hears like the mist upon our breath -- M.Johnson
  26.  
  27.